package cn.iocoder.yudao.module.erp.controller.admin.product.vo.product;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;
@Schema(description = "管理后台 - ERP 产品采购资料 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpProductPurchaseInfoRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15672")
    private Long fid;

    @Schema(description = "采购员", example = "李四")
    private Integer fpurperson;

    @Schema(description = "供应商", example = "李四")
    private Integer fsupplier;

    @Schema(description = "产地", example = "李四")
    private String fproducingarea;

    @Schema(description = "生产厂家", example = "淘宝")
    private String fproducefactory;

    @Schema(description = "采购策略", example = "2")
    private Integer fpurchasestrategy;

    @Schema(description = "采购计量单位", example = "1")
    private String funitid;

    @Schema(description = "收货可提前天数", requiredMode = Schema.RequiredMode.REQUIRED, example = "11")
    @NotEmpty(message = "收货可提前天数不能为空")
    private Integer fdaydahead;

    @Schema(description = "参考单价", example = "11161")
    private BigDecimal fprice;

    @Schema(description = "允许退货", example = "8869")
    private Integer fisreturn;

    @Schema(description = "不控制时间", example = "2")
    private Integer fisnotcontroltime;

    @Schema(description = "不控制数量", example = "2")
    private Integer fisnotcontrolqty;

    @Schema(description = "采购检验", example = "红色")
    private Integer fpurchasecheck;

    @Schema(description = "是否采购检验", example = "红色")
    private Integer fispurchasecheck;

    @Schema(description = "创建者", example = "你猜")
    private String creator;

    @Schema(description = "创建时间", example = "10")
    private Date createTime;

    @Schema(description = "更新者", example = "你猜")
    private String updater;

    @Schema(description = "更新时间", example = "10")
    private Date updateTime;
}
